<%--
  Created by IntelliJ IDEA.
  User: 35201
  Date: 2025/7/12
  Time: 10:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录/注册 - AVR</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/CSS/login/login.css">
</head>
<body>
<div id="container">
    <div id="left">
        <img src="${pageContext.request.contextPath}/static/IMG/login/login-icon.png" alt="标志图">
    </div>

    <div id="right">
        <h2>欢迎来到AVR</h2>
        <div class="login-box">
            <div class="tab-switcher">
                <div class="tab active" id="emailLogin" hidden="hidden">邮箱登录</div>
                <div class="tab active" id="accountLogin">注册账号</div>
            </div>


            <div class="form-group">
                <label class="form-label">账号</label>
                <input type="text" placeholder="请输入账号" class="form-input" id="account" required>
            </div>

            <div class="form-group">
                <label class="form-label">密码</label>
                <div class="input-with-button">
                    <input type="password" name="password" placeholder="请输入密码" class="form-input" id="password">
                </div>
            </div>

            <button class="submit-button" id="accountLoginBtn">注册</button>

            <div class="form-footer">
                注册即表示同意<a href="#">用户协议</a>和<a href="#">隐私政策</a>
            </div>

        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath}/static/JS/login/axios.min.js"></script>
<%--<script src='https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js'></script>--%>
<script src="${pageContext.request.contextPath}/static/JS/login/login.js"></script>
</body>
</html>
